Skip to content

Merge dev-2-fused_ops to main branch as the ver 1.0.1 - #19

Merged
TrinitroCat merged 17 commits into
mainfrom
dev-2-fused_ops
Oct 28, 2026
Merged

TrinitroCat merged 17 commits into
mainfrom
dev-2-fused_ops

Conversation

@TrinitroCat

Copy link
Copy Markdown
Owner
  1. Optimised the MD algorithms by fusing the operations of updating coordinates by triton.
  2. Configured the CI/CD schemes.
  3. Fixed several bugs and improved user experience.
  4. Updated the version to 1.0.1

…siable efficiency improvement.

2. Tried to add some fused kernel by Triton, including linear chained element-wise ops, Velocity-Verlet and thermostats.
3. The test profile still does not fully work.
…, autotune for BLOCK_SIZE will be applied. In my computer, this is the critical point that the time cost reduced by autotune is greater than the autotune overhead.

2. Inlined the RNG of std Gaussian rand. into thermostats by using triton internal RNG at the register level.
3. Supplemented the detailed comments and docstrings.
4. Fixed the import bug of `fused_md_test.py`
…l MD (NVE, NVT) engines. While the old interfaces of ConstrNV* are still kept , but only as compatible interfaces.

2. Reformated the constraints' solver. Now it is organised by composition instead of inheritance. It became a plugin of `_BaseMD` that is optionally loaded with the independent class `_BaseConstrMD` removed.
3. Solved the dependency issue. Now triton is an optional requirement, and the eager branch will be chosen if triton not found.
4. Other minor code reformats.
2. Updated related documents.
2. Unified the versions.
3. Updated the dependency information.
4. Fixed the bug of `Predictor.py` that does not detach tensors which may have grad. graphs.
5. Added a changlog as a mark.
…BaseConstraints.py`.

2. Exposed the damped Newton algorithm as the argument "retraction_solver" of `BaseConstr.__init__(...)`
3. Added more regression tests for constraints, checking its correctness and stability.
…constraint function inherent error and the Jacobian error, giving a error infimum estimation. One can set (also default) `constr_thres = 'auto'` in the `BaseConstr` or all other interfaces of CMD to use the auto-determined constrants violation threshold.

2. Unified the numeric type for all MD/CMD by env var `BT_FLOAT_TYPE`. Now all inputs including X and masses will be force to convert to this dtype. Default is f32.
3. Synchronised the change of constr_thres for all places where reference this variable.
2. Fixed several misleading comments in the BaseConstraints.py
…API, and modified the manuals and stub accordingly.

2. Deleted the dead code `TS_old/` and other minor code lines.
… and `DISP_DATA_READER_KWARGS` so the `FSDATA_PATH` and `DISPDATA_PATH` readers can be configured independently `DATA_READER_KWARGS` now applies only to `DATA_PATH` and `VAL_SET_PATH` andis not inherited by the other data paths.
…wrap coordinates befor the SCF while BUCToolkit would not, thus leading to the coordinate consistency check failed even for the actually same structure. Now coordinates would be wrapped to the 1st cell before the consistency check.
2. Changed the default vibration algorithm from `Energydiff` to `GradDiff`.
3. Changed the global random seed to the local form at several places.
@TrinitroCat TrinitroCat self-assigned this Oct 28, 2026
@TrinitroCat
TrinitroCat merged commit 16faf26 into main Oct 28, 2026
7 of 8 checks passed
@TrinitroCat
TrinitroCat deleted the dev-2-fused_ops branch October 28, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant